//
//  SDBaseTableViewController.h
//  SKinDiary
//
//  Created by pcyang on 16/6/26.
//  Copyright © 2016年 tencent. All rights reserved.
//

#import "SDTableView.h"

@interface SDBaseTableViewController : SDBaseViewController
@property (nonatomic,strong,readonly) SDTableView* tableView;

- (void)readyLoading;
- (void)finishLoading;
- (void)failedLoading;
- (void)failedLoadingWithWarning:(NSString *)warning;

- (void)simulationRefreshOfPullDown;

//subview should finish these two functions.
- (BOOL)isDataEmpty;
- (void)showEmpty;
- (void)removeEmpty;

- (BOOL) isNeedReadyLoadingInDidLoad;

- (void)scrollViewDidScroll:(UIScrollView *)scrollView;
- (void)scrollViewDidEndDragging:(UIScrollView *)scrollView willDecelerate:(BOOL)decelerate;
@end